﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="News_List.ascx.cs" Inherits="cbmobile.MasterUser.UC_user.News_List" %>
<%@ Register Assembly="PQT.Controls" Namespace="PQT.Controls" TagPrefix="pqt" %>

<div id="main">
    <!-- Begin Product -->
    <div class="wrap">
        <div class="SpTab">
            <span><a href="">Tin tức</a></span>
        </div>
        <div class="SpWrap">
            <asp:Repeater ID="rptNews" runat="server">
                <ItemTemplate>
                    <div class="main_news">
                        <h4>
                            <a href='/New_Detail.aspx?muid=News_Detail&id=<%# Eval("ID_News") %>'><%#Eval("TieuDe") %></a></h4>
                            <p><%# TrimText(Eval("MoTaNgan"),190) %></p>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            <div class="page_news">
                <pqt:PQTPager ID="PQTPager1" FirstPageImageUrl="/img/pager/first.png" PreviousButtonImageUrl="/img/pager/prev.png"
                    NextButtonImageUrl="/img/pager/next.png" LastPageImageUrl="/img/pager/last.png"
                    runat="server" Width="410px" 
                    onpageindexchanged="PQTPager1_PageIndexChanged" />
            </div>
        </div>
    </div>
    <!-- End Product -->
</div>